﻿using System.Windows.Forms;

namespace ConfigureNZBLoader.EditControls
{
    public partial class BaseEditControl : UserControl
    {
        protected BaseEditControl()
        {
            InitializeComponent();
        }

        public delegate void ChangedEventHandler(object sender, string NewText);
        public event ChangedEventHandler ItemChanged;

        protected void ItemChangedNotification(string msg)
        {
            if (ItemChanged != null)
            {
                ItemChanged(this, msg);
            }
        }
    }
}
